import { ProjectConfigType, ProjectType } from '@/config/types'
import { UserType } from '@/models/types'

const config: ProjectConfigType = {
  projectKEY: ProjectType.ADMIN,
  projectName: '管理员系统',
  loginDescription: '如果是首次登录则创建一个管理员账号',
  enums: [
    {
      name: '账号管理',
      path: '/account',
      auth: UserType.SUPER_ADMIN,
      children: [
        {
          auth: UserType.SUPER_ADMIN,
          name: '账号列表',
          path: '/account/list',
        }
      ]
    },
    {
      name: '项目管理',
      path: '/article',
      auth: UserType.ADMIN,
      children: [
        {
          name: '项目列表',
          auth: UserType.ADMIN,
          path: '/article/list',
        }
      ]
    }
  ]
}

export default config
